package org.sanguine.plugin.timetracker.pojo;

import java.util.List;

/**
 * <p>
 * </p>
 * <p>
 * <code>
 *        <name>SuprGlu</name>
 *        <id type="integer">1</id>
 *        <client-id type="integer">2</client-id>
 *        <code>HA-0001</code> <active type="boolean">true</active> <notes nil="true"/> <billable
 * type="boolean">false</billable> <!-- Shows if the project is billed by task hourly rate or person hourly rate.
 * Options: Tasks, People, none --> <bill-by>none</bill-by> <cost-budget type="decimal">1000.0</cost-budget>
 * <cost-budget-include-expenses type="boolean">false</cost-budget-include-expenses> <hourly-rate nil="true"/> <!--
 * Shows if the budget provided by total project hours, total project cost, by tasks, by people or none provided.
 * Options: project, project_cost, task, person, none --> <budget-by>project</budget-by> <budget
 * type="decimal">40.0</budget> <notify-when-over-budget type="boolean">true</notify-when-over-budget>
 * <over-budget-notification-percentage type="decimal">80.0</over-budget-notification-percentage>
 * <over-budget-notified-at nil="true"/> <show-budget-to-all type="boolean">true</show-budget-to-all> <created-at
 * type="datetime">2008-04-09T12:07:56Z</created-at> <updated-at type="datetime">2008-04-09T12:07:56Z</updated-at> <!--
 * These are hints to when the earliest and latest date when a timesheet record or an expense was created for a project.
 * Note that these fields are only updated once every 24 hours, they are useful to constructing a full project timeline.
 * --> <hint-earliest-record-at type="date">2006-01-04</hint-earliest-record-at> <hint-latest-record-at
 * type="date">2007-06-06</hint-latest-record-at> </code>
 * </p>
 * <b>Date:</b> 29.10.2014
 *
 * @author Alexey_Kuznetsov
 */
public final class Project {
    public Integer id;
    public String name;
    public String notes;
    public boolean active;
    public List<Task> tasks;

    @Override
    public String toString() {
        return name;
    }
}
